package com.cdtu.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName ticket
 */
@TableName(value ="ticket")
@Data
public class TicketDTO implements Serializable {
    /**
     * 景点门票id
     */
    @TableId
    private Long id;

    /**
     * 门票价格
     */
    private Double price;

    /**
     * 景点名称
     */
    private String sightName;

    /**
     * 0 票名称
     */
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
